<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构表达式</title>
    <script>
        let arr = [3,50,26,33];

        let [a,b,...others] = arr;


        console.log(a);
        console.log(b);
        console.log(others);

        console.log(arr);



    </script>
</head>
<body>

</body>
</html>